﻿<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>真题汇编模拟试卷-助理</title>
    <link href="../css/common.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="../js/common.js"></script>
    <style>
        body {
            width: 7.5rem;
            /* height: 100vh; */
            background-color: #F9F9F9;
        }
        
        .item {
            width: 6.90rem;
            background: #FFFFFF;
            box-shadow: 0 0.02rem .1rem 0 rgba(0, 0, 0, 0.03);
            border-radius: .1rem;
            margin: .36rem auto 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: .38rem .3rem;
        }
        
        .item_name {
            color: #000000;
            font-size: .28rem;
            font-weight: bold;
        }
        
        .item_num {
            color: #000000;
            font-size: .24rem;
            margin-top: .1rem;
        }
        
        .item_left {
            width: 5rem;
        }
        
        .item_right {
            color: #409EFF;
            font-size: .26rem;
        }
    </style>

</head>

<body>
    <div class="item item2">
        <div class="item_left">
            <p class="item_name">口腔助理医师真题汇编模拟卷_第一单元</p>
            <p class="item_num">共150道</p>
        </div>
        <div class="item_right">查看解析</div>
    </div>
    <div class="item item1">
        <div class="item_left">
            <p class="item_name">口腔助理医师真题汇编模拟卷_第二单元</p>
            <p class="item_num">共150道</p>
        </div>
        <div class="item_right">查看解析</div>
    </div>
    <script type="text/javascript" src="../js/jquery.min.js"></script>
    <script type="text/javascript">
        $(function() {
            function CheckIsAndroid() {
                var browser = {
                        versions: function() {
                            var u = navigator.userAgent,
                                app = navigator.appVersion;
                            return { //移动终端浏览器版本信息 
                                ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), //ios终端 
                                android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1, //android终端或uc浏览器 //u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
                                iPhone: u.indexOf('iPhone') > -1, //是否为iPhone或者QQHD浏览器 
                                iPad: u.indexOf('iPad') > -1, //是否iPad 
                            };
                        }(),
                    }
                    //if (browser.versions.iPhone || browser.versions.iPad || browser.versions.ios) {
                    //    return false;
                    //}
                if (browser.versions.android)
                    return true;
                return false;
            }
            var url = 'https://n.qikeya.com/qkyPay/code/img/'
            $('.item2').click(function() {
                if (!CheckIsAndroid()) {
                    window.location.href = url + 'zl/1.pdf';
                }
                if (CheckIsAndroid()) {
                    // 如果是Android
                    window.location.href = './pdf.html?href=zl/1.pdf'
                }

            })
            $('.item1').click(function() {
                if (!CheckIsAndroid()) {
                    window.location.href = url + 'zl/2.pdf';
                }
                if (CheckIsAndroid()) {
                    // 如果是Android
                    window.location.href = './pdf.html?href=zl/2.pdf'
                }
            })
        })
    </script>
</body>

</html>